<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:m="http://www.richfaces.org/veles">
    <h:head>
        <title>Seznam map with polyline</title>
        <style type="text/css">
           html {height: 100%}
            body { height: 100%; margin: 5px; padding: 0px }
            .map_canvas{
                height: 400px;
                width: 600px;
            }
        </style>
    </h:head>
    <h:body>
        <h3>Seznam map with polyline</h3>
        <div>
            <m:seznamMap latitude="34.23" longitude="56.3" draggable="true"
                         panControl="true" zoomControl="true" zoom="6"
                         mapType="ROADMAP" styleClass="map_canvas">
                <m:polyline strokeColor="#00F0F0">
                    <m:location latitude="34.23" longitude="56.3" />
                    <m:location latitude="43.23" longitude="46.3" />
                    <m:location latitude="53.23" longitude="56.3" />
                </m:polyline>
            </m:seznamMap>
        </div>
    </h:body>
</html>

